package day14;

public class Teacher implements Singer,Painter{

	/**
	 * @param args
	 */
	private String name;
	
	Teacher(String name){
		this.name = name;
	}

	public String getName(){
		return name;
		
	}
	
	@Override
	public void paint() {
		System.out.println("teacher is painting.");
		
	}

	@Override
	public void eat() {
		System.out.println("teacher is eating.");
		
	}

	@Override
	public void sing() {
		System.out.println("teacher is singing.");
		
	}

	@Override
	public void sleep() {
		System.out.println("teacher is sleeping.");
		
	}

}
